import sun.audio.AudioPlayer;
import sun.audio.AudioStream;

import java.io.FileInputStream;
import java.io.IOException;

public class MyMusic
{
    public static AudioStream zhutiqu;
    public static AudioStream shoot;
    public static AudioPlayer audioPlayer;
    static {
        try {
            zhutiqu = new AudioStream(new FileInputStream("music\\洛天依 - 别看我只是一只羊.wav"));
            shoot = new AudioStream(new FileInputStream("music\\shoot.wav"));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}